﻿using System;
using System.Collections.Generic;
using System.Text;

namespace Camc.Quality.Bop.TreeObject
{
    public class BopTreeJson
    {
        public Guid Id { get; set; }

        /// <summary>
        ///     1.型号
        /// </summary>
        public string Model { get; set; }
        /// <summary>
        ///     3.发次
        /// </summary>
        public string LotNo { get; set; }

        /// <summary>
        /// 节点名称
        /// </summary>
        public string NodeName { get; set; }
        /// <summary>
        /// 图号
        /// </summary>
        public string NodeDrawingNo { get; set; }
        /// <summary>
        /// 是否关联
        /// </summary>
        public int IsRelation { get; set; }
        /// <summary>
        /// 父ID
        /// </summary>
        public Guid ParentId { get; set; }
        /// <summary>
        /// 层级
        /// </summary>
        public int NodeLevel { get; set; }
        /// <summary>
        /// 父节点Code
        /// </summary>
        public string ParentCode { get; set; }
        /// <summary>
        /// 节点Code
        /// </summary>
        public string NodeCode { get; set; }
        /// <summary>
        /// 是否叶节点
        /// </summary>
        public int IsLeaf { get; set; }
        /// <summary>
        /// 是否导出
        /// </summary>
        public int IsExport { get; set; }

        /// <summary>
        ///     工艺文件ID
        /// </summary>
        public Guid? TechniqueEntityId { get; set; }

        /// <summary>
        /// 工艺编号
        /// </summary>
        public string TechniqueNumber { get; set; }

        /// <summary>
        ///  导出版本号
        /// </summary>
        public long Version { get; set; }
        /// <summary>
        /// 树集合 
        /// </summary>
        public List<BopTreeJson> TreeList { get; set; } = new List<BopTreeJson>();

    }
}
